package com.ztgf.user.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户基本信息DTO
 *
 * @author zhanghualang
 * @Date 2020-05-28 17:43:46
 */
@Data
@TableName("user_info")
@ApiModel(value="用户基本信息对象", description="用户基本信息对象")
public class UserInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "积分")
    private Integer integral;
    @ApiModelProperty(value = "等级")
    private Integer level;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "联系人名称")
    private String contactName;
    @ApiModelProperty(value = "logo图片")
    private String logoUrl;
    @ApiModelProperty(value = "状态 0创建，1审核通过，2审核打回，3审核不通过,4冻结、5删除")
    private Integer status;
    @ApiModelProperty(value = "类型 0主账号。1子账号")
    private Integer type;
    @ApiModelProperty(value = "公司地址")
    private String address;
    @ApiModelProperty(value = "邮箱激活 邮箱激活 0未激活，1已激活")
    private Integer emailActive;
    @ApiModelProperty(value = "新功能是否查看：0未查看，1已查看询价功能")
    private Integer lookType;
}